package reference;

/**
 * @author zhangxin
 * @date 2020/8/25
 */
public class TestObject {


    @Override
    public String toString() {
        return "TestObject{}";
    }

    @Override
    protected void finalize() throws Throwable {
        super.finalize();
        System.out.println("finalize()...");
    }
}
